package org.mixed.core.resource.storage;

import lombok.Getter;
import lombok.Setter;
import org.mixed.core.resource.ResourceStorage;
import org.mixed.core.resource.info.ComponentInfo;
import org.mixed.core.resource.info.FunctionInfo;
import org.mixed.core.utils.PathUtils;
import org.mixed.service.MixResourceService;

@Getter
@Setter
public class ComponentInfoResourceStorage implements ResourceStorage<ComponentInfo> {
    private MixResourceService resourceService;

    @Override
    public String folder() {
        return "component";
    }

    @Override
    public String suffix() {
        return ".ms";
    }

    @Override
    public Class<ComponentInfo> infoClass() {
        return ComponentInfo.class;
    }
}
